<!-- Begin Head -->
<header>
	<article class="row">
		<section class="col-md-8 left">
			<a href="#">
				<img src="<?= $this->webroot ?>img/logo.png" />
				<h2>Vietnamese Industrial Hygiene Association</h2>
			</a>
		</section>
		<section class="col-md-4 right">
			<article class="pull-right">
				<section class="login">
					<?php if(empty($global_user)): ?>
					<a href="<?php echo $this->webroot . 'users/login'?>"><?php echo __('Login')?></a> <span>|</span>
					<a href="<?php echo $this->webroot . 'users/register'?>"><?php echo __('Register')?></a>
					<?php else: ?>
					<span>Hi, <small><i><?php echo $global_user['fullname']?></i></small></span>
					<span class="vline"> | </span>
					<a href="<?php echo $this->webroot . 'users/logout'?>"><?php echo __('Edit information')?></a>
					<span class="vline"> | </span>
					<a href="<?php echo $this->webroot . 'users/logout'?>"><?php echo __('Logout')?></a>
					<?php endif; ?>
				</section> 
				<p>Promoting Worker Health Protection</p>
			</article>
		</section>
	</article>
</header>
<!-- End Head -->